<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="packages.jsp"%>
<%@ page errorPage = "error.jsp" %>
<%
   String login="false";
   
   //检查用户是否已经登录

  	if (session.getAttribute("user")!=null)
  	{
  		login="true";
  	}
  	else
  	{
  	   UserBean user=(UserBean)session.getAttribute("user");
	}

%>